package com.jbp.job;

import com.jbp.redis.RedisConfigService;
import com.jbp.service.EventService;
import com.jbp.service.LuckyUtil5;
import com.jbp.service.PropertyService;
import com.jbp.utils.ProtectUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**活动任务*/
//@Component
//@Configuration
public class EventJob {
    @Autowired
    private EventService eventService;
    @Autowired
    private RedisConfigService redisConfigService;
    @Autowired
    private PropertyService propertyService;

    public static int t =0;
    static  String hos = "forward.xdaili.cn";
    static int port = 80;
    /**
     * 刷新活动页面数据
     */
    @Scheduled(fixedDelay = 1000*60*60*12)
    public void refreshData(){
//        ProtectUtil.ganhuo();
    }
}
